#reg {
  width: 541px;
  height: 700px;
  margin: 0 auto;
}
#reg div:nth-child(1) {
  font-size: 20px;
}
#reg div:nth-child(2) {
  font-size: 14px;
}
.form {
  width: 540px;
  height: 560px;
  border: 1px solid #000;
  background: #f5f6f7;
}
.rg {
  width: 460px;
  height: 30px;
  margin-left: 30px;
  margin-top: 20px;
  font-weight: bold;
  border-bottom: 1px solid #cfcfcf;
}
.form p {
  margin-left: 42px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 16px;
}
.form p:nth-child(2) {
  margin-left: 90px;
}
.form p:nth-child(6) {
  margin-left: 132px;
}
.form p input {
  width: 300px;
}
.form .agreen {
  margin-left: 187px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: bold;
}
.agreen a,
.remember a {
  color: skyblue;
  font-size: 12px;
}
.remember a {
  margin-left: 17px;
}
.agreen a {
  margin-left: 27px;
}

.dingyue,
.remember {
  position: relative;
  top: 40px;
  left: 188px;
  font-size: 12px;
  font-weight: bold;
}
.remember {
  margin-top: 20px;
}
.underline {
  width: 460px;
  border: 1px solid #cfcfcf;
  margin-left: 33px;
  margin-top: 47px;
}
.buttons {
  margin-top: 20px;
  margin-left: 387px;
}
.buttons button {
  background: #d0d0d0;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  text-align: center;
  line-height: 27px;
}
.buttons button:nth-child(1) {
  width: 46px;
  height: 27px;
}
.buttons button:nth-child(2) {
  width: 57px;
  height: 27px;
}
.error,.innerText {
  color: red;
}

